package com.qk.service;

import com.qk.common.PageResult;
import com.qk.dto.ActivityDto;
import com.qk.entity.Activity;

import java.util.List;

public interface ActivityService {
    PageResult<Activity> getActivityList(ActivityDto activityDto);

    void deleteActivity(Integer id);

    void addActivity(Activity activity);

    Activity getActivityById(Integer id);

    void updateActivity(Activity activity);

    List< Activity > getAll();

    List< Activity > getActivityByType(Integer type);

}

